#ifndef _H_DIALOG
#define _H_DIALOG

#include <string>
#include <interface\font.h>
#include <cstdlib>

#include "types.h"
#include "actor.h"

#define DIALOG_LIFE 5000

using namespace std;

class dialog{
    protected:
        string content;
        actor* sdr;
        int txtlen;

        font* myFont;

        clock_t creationTime;

    public:
        dialog(string,actor*);
        ~dialog();

        clock_t getCreationTime();

        font* getFont();
        void setFont(font*);

        void display();
};

#endif
